package com.oa.service;

import com.oa.entity.Attendance;
import com.oa.util.PageUtil;

import java.util.List;

/**
 * @Description TODO
 * @Author hyl
 * @Date 2022/7/2 8:40
 **/
public interface AttendanceService {

	//查询所有打卡记录
	public List<Attendance> findAll();

	//分页
	public List<Attendance> findPage(PageUtil<Attendance> pageUtil);

	/**
	 * 根据条件查询打卡记录
	 * @param empNamem
	 * @param time
	 * @return
	 */
	public List<Attendance> findParam(String empNamem,String time);


	//添加打卡记录
	public int add(Attendance attendance);

	//上班
	public int addSignInTime(int empId);

	//下班
	public int addSignOutTime(int empId);
}
